package com.baike.feign;

import com.baike.data.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "baike-education-pay-service")
public interface TbOrderFrign {

    @GetMapping("/pay/alipayTradeRefund")
    Result alipayTradeRefundById(@RequestParam("studentId")Long studentId,
                                         @RequestParam("lessonId")Long lessonId);
}
